package com.qfjg.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qfjg.entity.FileUrl;
import com.qfjg.mappers.FileUrlMapper;
import com.qfjg.service.FileUrlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FileUrlImp extends ServiceImpl<FileUrlMapper, FileUrl> implements FileUrlService {

    @Autowired
    private FileUrlMapper fileUrlMapper;

    @Override
    public void insert(FileUrl fileUrl) {
        fileUrlMapper.insert(fileUrl);
    }

    @Override
    public void deleteByFuId(String fuId) {
        fileUrlMapper.deleteById(fuId);
    }
}
